package com.hw.logbackDemo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class LogbackDemoApplication {

	public static void main(String[] args) {
		Logger log=LoggerFactory.getLogger(LogbackDemoApplication.class);
		log.info("main log start------------------------");
		log.trace("======trace");
		log.debug("======debug");
		log.info("======info");
		log.warn("======warn");
		log.error("======error");
		log.info("main log end------------------------");
		SpringApplication.run(LogbackDemoApplication.class, args);
	}
}
